package site.teamo.biu.flink.web.exception;

import lombok.Getter;

import java.util.Map;

/**
 * @author haocongshun
 * @date 2022/1/25 17:17
 */
public class BiuValidationException extends RuntimeException {

    @Getter
    private final int code;

    @Getter
    private final Map<String, String> validationResult;


    public BiuValidationException(int code, Map<String, String> validationResult) {
        super();
        this.code = code;
        this.validationResult = validationResult;
    }
}
